package com.teamwork.module01.mapper.daomapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teamwork.common.entity.module01.dto.StuAndCourse;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StuAndCourseMapper extends BaseMapper<StuAndCourse> {

    @Select("select course_id from tb_module01_student_course  where student_id=#{id}")
    List<Integer> getCourseIDs(Long id);

}
